Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email me via my user page contact form. Thanks so much!
Patti is a One Page HTML template, designed and developed by and for creative people. It`s packed with the Revolution Slider jQuery plugin, which generates the 3 types of sliders used inside it: fullscreen slider, fullwidh slider and fullscreen video slider. The template also features a grid based fullwidth gallery for portfolio, perfect to showcase your projects.

All html pages are named so you know what page it is.
This template is based on a fixed layout and built using HTML5.
The files which contains all the HTML structure are the ones with the .html suffix.
You can change the text from the template by navigating through each file and locate each line of text you want to change.
To change the logo, for example, open each html page, locate the line which contains the address to the current logo(images/logo.png) and change it with the address of your own logo.
Since version 1.1, Patti has 3 header styles for the initial state(not scrolled): solid header(class: solid-header), transparent header(class: transparent-header) and no header(no-header). To set one, use its class near the header id:
<header id="header" class="solid-header">
The main menu is located inside each html file and looks like this:
<ul id="mainnav" class="sf-menu">
<li class="current"><a href="index.html/#hello"><span>HELLO</span></a></li>
<li><a href="index.html#about"><span>ABOUT</span></a></li>
<li><a href="index.html#work"><span>WORK</span></a></li>
<li><a href="index.html#services"><span>SERVICES</span></a></li>
<li><a class="external" href="elements.html"><span>EXTRA</span></a></li>
<li><a href="index.html#contact"><span>CONTACT</span></a></li>
</ul>
The template is making use of the lightbox plugin called PrettyPhoto. The plugin can open a big image of a thumbnail or create a gallery of images.
Here`s an example of an image which will open in a lightbox:
<a href="images/portfolio/image1.jpg" rel="prettyPhoto" title="Lorem Ipsum Dolor Sit Amet"> <img src="images/portfolio/image1-small.jpg" alt="Image Title"> </a>
You can create a gallery by adding more items and adding [pp_gal] after prettyPhoto:
<a href="images/portfolio/image1.jpg" rel="prettyPhoto[pp_gal]" title="Lorem Ipsum Dolor Sit Amet"> <img src="images/portfolio/image1-small.jpg" alt="Slide 1"> </a> <a href="images/portfolio/image2.jpg" rel="prettyPhoto[pp_gal]" title="Consectetur Adipiscing Elit"> <img src="images/portfolio/image2-small.jpg" alt="Slide 2"> </a>
The slider is based on RevolutionSlider and it comes in 3 modes: fullScreen Image Slider, fullWidth Image Slider and fullScreen Video Slider
To generate each slide, you need to use specific classes for the container:
1. FullScreen Image slider:
<div class="fullscreenbanner-container"> <div class="fullscreenbanner">
2. FullWidth Image Slider
<div class="fullwidthbanner-container"> <div class="fullwidthbanner">
3. FullScreen Video Slider
<div class="videobanner-container"> <div class="videobanner">
The video files are located inside "media/" folder. Make sure to provide more formats for the video, in order to make it compatible with as many devices as possible. Suggested formats are mp4, ogv and webm.
The homepage portfolio uses a masonry layout and each portfolio thumbnail can have 4 sizes: small thumbnail(identified by "item-small" class), wide thumbnail(identified by "item-wide" class), high thumbnail("item-high" class) and long thumbnail("item-long" class).
For best results, use images bigger than or at least 540x420px.
The thumbnail images are located inside the "portfolio" folder from "images".
The portfolio can be filterable or not. To make it not filterable, remove the list with the id "filters" from the page. You can assign a category to an item element, so it can be sorted. Just follow the pattern used inside the portfolio section.
Patti comes with 5 portfolio inner pages. You can locate them by "portfolio-item-x.html".
Each one of them has a custom layout, in order to give you the flexibility to create unique project pages.
They are flexible, because we`re talking here about HTML code, meaning that you can modify them as you wish.
For example, portfolio-item-3.html contains a slider. To add another image to the slider, just follow the pattern.
<div class="slider-item"> <a href="images/portfolio/p1.jpg" title="Image Gallery 1" rel="prettyPhoto[pp_gal]"><img src="images/portfolio/p1.jpg" alt="Picture 1" /></a> </div>
You can set parallax backgrounds for sections. The changes you need to make in order to obtain a parallax background are located at HTML, CSS and jQuery levels.
1. HTML
You need to give to your section the "parallax-section" class and another class or ID for individualizing it. You can also set a transparent cover for it(using a div with classes "darker-overlay" or "lighter-overlay"). For example, the HTML section for the quote looks like this:
<section class="parallax-section" id="quote">
<div class="darker-overlay">
<section class="centered-wrapper">
<div class="double-space"></div>
<h2 class="parallax-quote">"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."</h2>
<span class="quote-author">Antoine de Saint-Exupéry</span>
<div class="double-space"></div>
</section>
</div>
</section>
2. CSS
Now you need to assign to your section a background image. You have to do it with CSS. The quote section uses this code to assign it:
#quote {
background:url(images/parallax-quote.jpg) 50% 0 repeat-y fixed;
}
3. jQuery
Last step is to assign the ID or class to the Parallax script mechanism using jQuery. You can add it inside "js/custom.js" at "Parallax Sections". The code for the quote section looks like this:
$('#quote').parallax("50%", 0.4);
Patti template is making use of an icon font called FontAwesome. Basically, they are characters of a font, therefore, it will beautifully scale for any type of mobile device.
The list of all icons can be found at http://fontawesome.io/
To integrate one in a page, use this code format:
<i class="fa fa-camera-retro"></i>
style.css - Main stylesheet which includes all the styles of the template. It is located in the root folder of the template.
prettyPhoto.css, superfish.css, audioplayer.css, fontawesome.css, animate.css, owl.carousel.css - Stylesheets which include the styles for custom plugins and icon font. They are located inside the "css" folder.
responsive.css - Stylesheet which includes the styles for the responsive layout. It located inside the "css" folder. If you want to see how the layout is changing its shape on different devices, open the live demo on your browser(ideally Chrome) and resize the browser window.
If you would like to edit a specific section of the site, simply find the appropriate label in the CSS file, and then scroll down until you find the appropriate style that needs to be edited.
The template comes in 6 color schemes: yellow, orange, blue, green, red, purple.
The current theme is set to orange. The code for it is located in every html page, inside the <head> </head> section:
<link rel="stylesheet" type="text/css" href="color-schemes/orange/orange.css" media="screen" />
Change orange from the above line with other color from the list and the template will import the styles for the respective color. For example:
<link rel="stylesheet" type="text/css" href="color-schemes/blue/blue.css" media="screen" />
You can add animations to any HTML block. As you already noticed in the live demo, there are some animations which reveal each element while you scroll down the page.
For example, each team member are revealed from bottom to top in a fading effect. The code for a team member is:
<div class="percent-one-third box fadeInDown">
<div class="team-member">
team member details
</div><!--end team-member-->
</div><!--end one-third-->
The things that make the box animated are the classes box and fadeInDown.
So, everytime you want to animate an element, you have to add to it the class box and the class for the effect. The entire list of effects can be found at http://daneden.github.io/animate.css/
Javascript - jQuery files used within the template:
To set up the flickr feed, locate the flickr code from custom.js:
// Flickr Widget
$('#flickr').jflickrfeed({
limit: 10,
qstrings: {
id: '58842866@N08',
tags: 'architecture'
},
itemTemplate:
'<li>' +
'<a href="{{image_b}}"><img src="{{image_s}}" alt="{{title}}" /></a>' +
'</li>'
});
To set up the twitter feed, you need to create a twitter app. Head over to http://dev.twitter.com and create one. I suggest you to follow this video tutorial, which explains how to do it: http://www.youtube.com/watch?v=xqSp7060Gj0
This step is mandatory, because Twitter changed their API and making use of Twitter content without any tracking(consent) is not possible anymore.
Once you created a Twitter app, you need to open the index.php file from "twitter/" folder from Patti template and use your keys for the variables from inside the file:
// Your Twitter App Consumer Key private $consumer_key = 'yourconsumerkey'; // Your Twitter App Consumer Secret private $consumer_secret = 'yourconsumerappsecret'; // Your Twitter App Access Token private $user_token = 'youraccesstoken'; // Your Twitter App Access Token Secret private $user_secret = 'youraccesstokensecret';
Now go to "js/custom.js" and locate: username: "deliciousthemes",
Replace the username with your own Twitter username.
Once you set up those variables, you can now use the html block: <div class="tweet"></div> to generate a twitter feed list.
Patti template has integrated a Google Map inside the Contact section of the homepage. This map is generated by the next HTML code:
<!-- GOOGLE MAP CONTROLS --> <a class="button-map close-map"><span>Locate Us on Map</span></a> <div id="google_map"></div>
var contentString = '<div class="map-tooltip">'+ '<h6>Patti Headquarters</h6>'+ '<p>Now that you visited our website, how about <br/> checking out our office too?</p>'+ '</div>';
The template makes use of 1 php file, located inside the "php" folder.
To receive emails, the entire template needs to be uploaded to a server which supports either PHP4 or PHP5.
To set up the contact form to send emails with the persons which are contacting you, open "contact.php" file and change the email from line 42 with your own email.
$address = "example@example.net";
I've included one PSD files with this template:
The PSD file reflects the image of the homepage template, therefore, it would be very easy for you to change something in it.
Once again, thank you so much for purchasing this template. As I said at the beginning, I'd be glad to help you if you have any questions relating to this template.
V1.2 - 28 June, 2015
Updated prettyPhoto lightbox library to v3.1.6 to keep it safe from any security vulnerabilities
Files affected:
js/jquery.prettyPhoto.js
V1.1 - 06 February, 2014
Added 2 more header styles for the initial state: transparent and hidden Added "Clients" section Replaced the homepage slider caption image with HTML markup Added a Captcha Field to Contact Form
Files affected:
all HTML files js/custom.js js/custom-isotope.js js/jquery.contact.js style.css css/responsive.css php/contact.php images/ folder - added clients/ folder
The update contains mainly new features added to the version 1.0.
The changes which occured in HTML files are:
- a class added to the header:
<header id="header" class="solid-header">
- a new field added to the contact form:
<input name="verify" placeholder="3+1 = ?" type="text" id="verify" value="" />
- HTML caption for the slider instead of the initial image caption:
<div class="caption tp-resizeme big-text lft ltt"
data-x="center"
data-y="center"
data-speed="300"
data-start="500"
data-easing="easeOutExpo">
<h1>We Are Patti Studio</h1>
<div class="fancy-caption" style="width: 365px">
<div class="fancy-slider-info">Since 2008</div>
<div class="fancy-slider-caption">Serving Web Design</div>
</div>
</div>
Unless you didn`t alter any other files except HTML files, you can replace the files mentioned above(Files Affected:) except the HTML files too, with the ones from V1.1.
If you modified any of the mentioned files above and don`t want to mess up your changes, you can contact me via email at deliciousthemes@gmail.com and I`ll be happy to assist you!
V1.0 - 31 January, 2014
Launch Date